body {
    margin: 0;
    padding: 0;
    background-color: #acd4f0;
    font-family: Helvetica, Arial;
    font-style: normal;
    font-variant: normal;
}

#wraper{
    width: auto;
    height: 100%;
    margin: 0;
}

#header {
    width: 100%;
    height: 60px;
    background-color: #ccc;
    margin: 0;
    border-bottom: 2px groove #aaa;
    border-top: 2px groove #aaa;
}


/**
top menu

*/

#top_menu{
    background-color: #ccc;
    width: 100%;
    height: 20px;
}

#top_menu ul {
    margin-top: 3px;
}

.top-menu-icon{
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid transparent;
    display: block;
    text-indent: -9999px;
    cursor: pointer;
    background-repeat:no-repeat;
    margin: 0 3px 0 3px;
}

.top-menu-icon:hover{
    opacity: 0.85;
    background-color: #ddd;
}

.user_menu li a {
    color: #CC0000;
    text-decoration: underline;
}
.user_menu li a:hover {
    color: #CC6666;
}

/**
top_action_menu
*/

#top_action_menu{
    height: 40px;
    width: 100%;
    background: url("../img/style/top_action_menu2.png") repeat-x scroll 0 0 #ccc;
    background-color: #ccc;
    overflow: hidden;
    box-shadow: 0 0 2px 0 #aaa;
}

#top_action_menu_wrap{
    margin-top: 5px;
    height: 30px;
}

#top_action_menu_ul{
    margin: 0;
    display: block;
    height: 30px;
}

#top_action_menu_ul li{
    display: block;
    list-style: none;
    float: left;
    min-width: 160px;
    text-align: center;
    margin-right: 10px;
    background: url("../img/style/top_action_menu_butt1.png") repeat-x scroll 0 0 transparent;
/*    background-color: #eaeaea;*/
    height: 100%;
    overflow: hidden;
    border: 1px outset #aaa;
    border-color: #aaa #bbb #bbb; 
}

#top_action_menu_ul li:hover{
    background: url("../img/style/top_action_menu_butt2.png") repeat-x scroll 0 0;
    border: 1px inset #aaa;
}

#top_action_menu_ul li a{
    display: block;
    text-decoration: none;
    color: #111;
    height: 100%;
    padding-top: 5px;
}

.top_action_menu_butt-green{
    background-color: #6fd451 !important;
}
.top_action_menu_butt-yellow{
    background-color: yellow !important;
}


/**
icons
*/

.home-icon{
    background-image: url('../img/menu_ikony/iko_home.png') ;
}
.magazyn-icon{
    background-image: url('../img/menu_ikony/iko_warehouse.png') ;
}

.modele_silników-icon{
    background-image: url('../img/menu_ikony/iko_motor.png') ;
}

.klienci-icon{
    background-image: url('../img/menu_ikony/iko_customers.png') ;
}

.sales-icon{
    background-image: url('../img/menu_ikony/iko_sales.png') ;
}

.settings-icon{
    background-image: url('../img/menu_ikony/iko_settings.png') ;
}


/**
*/

ul.modules_menu, ul.user_menu{
    display: block;
    float: left;
    height: 20px;
    background-color: #ccc;
    margin: 0;
}

ul.user_menu{
    position: absolute;
    right: 20px;
    top: 25px;
    background-color: transparent;
    color: #eee;
}

ul.modules_menu li , ul.user_menu li{
    display: block;
    list-style: none;
    float: left;
    height: 20px;
}

li.separator{
    border-right: 2px groove #ddd;
    height: 50px !important;
    margin: 0 8px 0 8px;
    width: 0;
}


ul.user_menu{
    
}

ul.user_menu li{
    float: right;
}

table.form-table {
    
}

.form-table tbody tr th {
    text-align: right;
}

.form-table tbody tr td {
    text-align: center;
}


input.input-numeric{
    text-align: right;
    width: 100px;
}

input.input-text{
    text-align: center;
    width: 130px;
}

.form-table tbody tr td{
    text-align: left;
    padding-left: 20px;
}

.span-link, a{
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}
.span-link:hover, a:hover{
    color:#0066CC;
}

#magazyn_menu{
    float: left;
    width: 270px;
    margin-top: 10px;
    height: 450px;
    background-color: #999;
    padding: 5px;
    position: fixed;
    overflow-y: auto;
    box-shadow: 2px 2px 2px 2px #444;
    top: 160px;
}

#magazyn_menu:hover{
    opacity: 1;
}

#magazyn_content{
    float: left;
    margin-left: 295px;
    width: 72%;
    min-height: 450px;
    margin-bottom: 30px;
}

tr.tr-active{
    background-color: #FFD324;
}

tr.details-tr.tr-active{
    background-color: #eee;
}

.trans-td{
    background-color: #ACD4F0;
    text-align: right;
}

#loading_info_wrap{
    height: 40px;
    width: 95%;
}



#logo_wrap {
    width: 100%;
    background-color: #000066;
    color: #E7E5DC;
    margin: 0;
    border-top: 4px solid #CC0000;
}

#logo_wrap h1{
    display: block;
    margin: 10px 0 0 40px;
    text-shadow: 2px 3px 3px #292929;
}

#content{
    margin: 0 10px 0 10px;
    width: 98%;
    min-height: 300px;
}


table{
    empty-cells: show;
}


.magazyn_tab{
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-bottom: 5px;
}

.list-table{
    border: 1px solid #666;
    border-spacing: 0px;
    border-collapse: collapse;
    margin-bottom: 20px;
}



.list-table thead tr th{
    background-color: #666;
    color: #FFD324;
    font-weight: 300;
}
.list-table thead tr th:nth-child(odd){
    background-color: #888;
}


.list-table tbody tr td, .list-table thead tr th {
    border: 1px solid #666;
    padding: 3px;
}

.list-table tbody tr td{
    background-color: #e5e5e5;
}
.list-table tbody tr td:nth-child(odd){
    background-color: #d5d5d5;
}

table.types-motor-table{
    border-collapse: collapse;
}

/*.types-motor-table tbody tr td:nth-child(odd) , .types-motor-table thead tr th:nth-child(odd) {
    background-color: #ddd !important;
}*/

.types-motor-table tbody tr td{
    padding-left: 5px;
    padding-right: 5px;
}

/*.types-motor-table thead {
    border-bottom: 2px solid #555 !important;
}*/

.types-motor-table tbody tr:hover td{
    background-color: #bbb;
}

.motortypeslist-tr:hover td {
    background-color: #fff !important;
}

.motortypeslist-tr td{
    padding-left: 10px !important;;
    padding-right: 10px !important;;
}

ul.input-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mocowanie-th{
    width: 50px;
}

span.table-th-sort-span:parent{
    text-decoration: underline !important;
    cursor: pointer;
    display: block;
}
span.table-th-sort-span:parent:hover{
    color: #fff !important;
}
th.table-th-sort{
    color: #FFD324 !important;
    font-weight: 500 !important;
    cursor: pointer;
    text-decoration: underline;
}


#motor_type_list {
    width: 800px;
}

#motor_type_list tbody {
    height: 300px !important;
    overflow: auto;
    overflow-x: hidden;
/*    display: block;*/
    
}

.list-table thead tr th div {
    cursor: pointer;
}

.alert-info{
    background-color: #666;
    color: #FFD324;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -175px;
    margin-top: -60px;
    width: 350px;
    height: 80px;
    overflow: hidden;
    border-bottom: 20px solid #FFD324;
    border-top: 20px solid #FFD324;
    box-shadow: 5px 5px 20px #182019;
}

.alert-info-error {
    border-bottom-color: #fe0000;
    border-top-color: #fe0000;
    color: #fe0000;
    cursor: pointer;
    background-color: #000;
}

.alert-info-message{
    width: 100%;
    margin-top: 15px;
    font-size: 36px;
    text-align: center;
}

.form-info, form-errors {
    clear: both;
    margin-top: 20px;
    margin-bottom: 10px;
}

.form-info {
    color: green;
}

.form-errors{
    color: red;
}

.form-wrap{
    background-color: #ccc;
    width: 900px;
    border-style: outset;
    border-color: #111;
    border-width: 1px;
    margin: auto;
    margin-top: 10px;
}

.form-content-wrap{
    margin: 10px;
}

.form-wrap h2{
    display: block;
    width: 100%;
    height: 20px;
    margin: 0;
    background-color: #4444aa;
    color: #fff;
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
    cursor: default;
    font-size: 16px;
}

/*.form-wrap h2::selection {
        background: transparent;  Safari 
        }
.form-wrap h2::-moz-selection {
        background: transparent;  Firefox 
}*/

.options-td a, .options-td span{
    width: 22px;
    height: 22px;
    background-color: #dadada;
    display: block;
    background-position: center;
}

.options-td a:hover, .options-td span:hover{
    background-color: #aaa;
}

tr.in-cart, tr.in-cart td{
    background-color: orange !important;
}

.span-imglink{
    display: block;
    width: 16px;
    height: 16px;
    float: left;
    cursor: pointer;
    margin-left: 5px;
    background-repeat: no-repeat;
}

span.span-imglink{
    text-indent: -99999px;
}

.edit-link{
    background-image: url('../img/icons/reply.png') ;
}
.delete-link{
    background-image: url('../img/icons/action_delete.png') ;
}
.tocart-link{
    background-image: url('../img/icons/to_cart.png') ;
}

.span-imglink.tocart-link.in-cart{
    opacity: 0.5;
}

.save-butt{
    background-color: #6BAA3D;
    width: 100px;
    height: 30px;
    cursor: pointer;
}

.form-top-menu1{
    height: 40px;
    margin-top: 20px;
}

.form-bottom-menu1{
    height: 40px;
    width: 100%;
    text-align: center;
}


/**
TABS
*/
.tabs-wrap{
    width: 100%;
    height: 100%;
    margin: 2px;
}
.tab-head{
    display: block;
    cursor: pointer;
    float: left;
    border: 1px solid #bbb;
    background-color: #bbb;
    min-width: 100px;
    height: 20px;
    text-align: center;
    color: #666;
}
.tab-head:hover{
    background-color: #ecd572;
    border-color: #ecd572;
}
.tab-head.active-tab-head{
    border: 1px solid #aaa;
    background-color: #aaa;
    font-weight: bold;
    color: #333;
}
.tabs-body-wrap{
    clear: both;
    border: 1px groove #aaa;
    overflow: hidden;
    min-height: 250px;
}
.tab-body{
    margin: 10px 5px 10px 5px;
}
/**
/TABS
*/

.sheet-container{
    min-width: 900px;
    min-height: 200px;
    width: 70%;
    background-color: #fff;
    border-radius: 15px 15px 15px 15px;
    margin: auto;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.sheet-container-wrap{
    margin: 10px;
}

td.progresywny span, .progresywny{
    color: #4bbc24;
}

label.progresywny{
    background-color: #ccc;
}

.motortypeslist-tr.empty, .motortypeslist-tr.empty td, .motortypeslist-tr.empty td span{
/*    background-color: #ccc;*/
    color: #999;
    text-decoration: none;
}

.motortypeslist-tr.empty td.progresywny span{
    color: #8bbc7a;
}

.motor_list-suma{
    font-weight: bold;
}

.table-result{
    width: 90%;
    min-height: 20px;
    background-color: #d2deff;
    border: 1px solid #aac0ff;
    padding: 5px;
    margin: auto;
    margin-bottom: 10px;
}
.table-result dl{
    margin: 5px 0 5px 0;
}
.table-result dl dt, .table-result dl dd{
    border-bottom: 1px dotted #aaa;
}

.table-result dl dt{
    display: block;
    float: left;
    min-width: 250px;
}
.table-result dl dd{
    display: block;
}
.table-result h3{
    margin: 0;
    margin-bottom: 5px;
    font-size: 14px;
}

.table-th-prefix{
    font-size: 10px;
}

.search_pole{
    width: 100%;
    clear: both;
}

input.calendar{
    float: left;
}

/*
diary
*/

ul.diary li{
    list-style: none;
    display: block;
    clear: both;
}

.diary-daylabel{
    width: 750px;
    background-color: #6caeff;
    color: #fff;
    margin: 5px 0 5px 0;
    padding: 5px;
}

.diary-motorevent{
    margin-left: 20px;
    padding: 1px 0 1px 0;
}

/*
/diary
*/

/*
prizeCalc
*/
.prizeCalc-wrap{
    position: fixed;
    top: 200px;
    left: 200px;
    background-color: #ddd;
    border: 1px double #111;
    width: 620px;
    height: 200px;
    -webkit-box-shadow: 2px 2px 10px 2px #888;
    -moz-box-shadow: 2px 2px 10px 2px #888;
    box-shadow: 2px 2px 10px 2px #888;
}
.prizeCalc-wrap.dragging{
    opacity: 0.8;
    cursor: move;
}
.prizeCalc-close{
    width: 20px;
    height: 20px;
    position: absolute;
    float: right;
    top:5px;
    right: 5px;
    cursor: pointer;
    z-index: 2;
    color: #ddd;
}
.prizeCalc-header{
    height: 30px;
    width: 620px;
    background-color: #4444AA;
    position: relative;
    overflow: hidden;
}
.prizeCalc-header h3{
    margin: 5px;
    padding: 0;
    width: 100%;
    text-align: center;
    color: #eee;
    z-index: 1;
}
.prizeCalc-body{
    padding: 7px;
}
.prizeCalc-cont{
    width: 620px;
    height: 200px;
}
.prizeCalc-prizeTable{
    width: 600px;
    border-collapse: collapse;
}
.prizeCalc-inp-marza{
    width: 30px;
}
.prizeCalc-prizeTable-cenath{
    text-align: center;
}
.prizeCalc-prizeTable-cenatd{
    text-align: right;
    background-color: #bbb;
    border-bottom: 1px solid #222;
    padding: 4px;
    font-weight: normal;
}
.prizeCalc-prizeTable-cenatd:nth-child(odd){
    background-color: #aaa;
}